
const constantRoute = [
  {
    path: '/home',
    component: () => import('@/views/home/index.vue'),
    meta: {
      title: '首页',
    }
  },
  {
    path: '/refParent',
    component: () => import('@/views/refParent/index.vue'),
    meta: {
      title: 'ref传值'
    }
  },
  {
    path: '/resetData',
    component: () => import('@/views/resetData/index.vue'),
    meta: {
      title: '重置表单'
    }
  },
  {
    path: '/map',
    component: () => import('@/views/map/index.vue'),
    meta: {
      title: '高德地图'
    }
  },
  {
    path: '/lifecycle',
    component: () => import('@/views/Lifecycle/index.vue'),
    meta: {
      title: '生命周期钩子函数'
    }
  },
  {
    path: '/separation',
    component: () => import('@/views/separation/index.vue'),
    meta: {
      title: '功能分离'
    }
  },
  {
    path: '/use-slot',
    component: () => import('@/views/useSlot/index.vue'),
    meta: {
      title: '插槽的使用'
    }
  },
  {
    path: '/use-pinia',
    component: () => import('@/views/usePinia/index.vue'),
    meta: {
      title: 'pinia的使用'
    }
  },
  {
    path: '/use-component',
    component: () => import('@/views/useComponents/index.vue'),
    meta: {
      title: '组件的使用'
    }
  }
]

export default constantRoute